using System;

namespace BTKERP.Model
{
    #region RequisitionDetail
    /// <summary>
    /// This object represents the properties and methods of a RequisitionDetail.
    /// </summary>
    [Serializable]
    public class RequisitionDetail
    {
        protected Guid _id;
        protected int _sequence;
        protected Guid _resuisitionId = Guid.Empty;
        protected Guid _productId = Guid.Empty;
        protected Guid _unitId = Guid.Empty;
        protected decimal _unitPrice;
        protected decimal _requestedQty;
        protected string _status = String.Empty;
        protected DateTime _createdOn;
        protected string _createdBy = String.Empty;
        protected DateTime _updatedOn;
        protected string _updatedBy = String.Empty;

        public RequisitionDetail()
        {
        }

        #region Public Properties
        public Guid Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int Sequence
        {
            get { return _sequence; }
            set { _sequence = value; }
        }

        public Guid ResuisitionId
        {
            get { return _resuisitionId; }
            set { _resuisitionId = value; }
        }

        public Guid ProductId
        {
            get { return _productId; }
            set { _productId = value; }
        }

        public Guid UnitId
        {
            get { return _unitId; }
            set { _unitId = value; }
        }

        public decimal UnitPrice
        {
            get { return _unitPrice; }
            set { _unitPrice = value; }
        }

        public decimal RequestedQty
        {
            get { return _requestedQty; }
            set { _requestedQty = value; }
        }

        public string Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedOn
        {
            get { return _createdOn; }
            set { _createdOn = value; }
        }

        public string CreatedBy
        {
            get { return _createdBy; }
            set { _createdBy = value; }
        }

        public DateTime UpdatedOn
        {
            get { return _updatedOn; }
            set { _updatedOn = value; }
        }

        public string UpdatedBy
        {
            get { return _updatedBy; }
            set { _updatedBy = value; }
        }
        #endregion

    }
    #endregion
}
